//
//  Test25.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/25.
//

#include "Test25.hpp"
#include <iostream>
using namespace std;
class base {
private:
    int x;
public:
    void setx(int a) {
        x = a;
    }
    int getx() {
        return x;
    }
};

void test25() {
    base a,b;
    a.setx(89);
    b = a;
    cout<<a.getx()<<endl;
    cout<<b.getx()<<endl;
}
